<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<% String context = request.getContextPath() + "/H-ui/"; %>
<c:set var="contextpath" value="<%=context %>"/>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<%
    String importMsg = "";
    if (request.getSession().getAttribute("msg") != null) {
        importMsg = request.getSession().getAttribute("msg").toString();
    }
    request.getSession().setAttribute("msg", "");
%>
<head>


    <style>
        .download_click {
            margin-left: 30px;
            margin-top: 32px;
            height: 25px;
        }

        .buttonn {
            text-decoration: none;
            padding: 10px 30px 10px 30px;
            font-size: 16px;
            font-family: 微软雅黑, 宋体, Arial, Helvetica, Verdana, sans-serif;
        }
    </style>
</head>
<title>批量导入客户</title>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<script src="${pageContext.request.contextPath}/js/jquery-1.11.0.min.js"></script>
<script type="text/javascript" src="${contextpath}lib/laydate/laydate.js"></script>
<link rel="stylesheet" type="text/css" href="${contextpath}static/h-ui/css/H-ui.min.css"/>
<link rel="stylesheet" type="text/css" href="${contextpath}static/h-ui.admin/css/H-ui.admin.css"/>
<link rel="stylesheet" type="text/css" href="${contextpath}lib/Hui-iconfont/1.0.7/iconfont.css"/>
<link rel="stylesheet" type="text/css" href="${contextpath}lib/icheck/icheck.css"/>
<link rel="stylesheet" type="text/css" href="${contextpath}static/h-ui.admin/skin/default/skin.css"
      id="skin"/>
<link rel="stylesheet" type="text/css" href="${contextpath}static/h-ui.admin/css/style.css"/>

<body>
<nav class="breadcrumb"><i class="Hui-iconfont">&#xe67f;</i> 首页 <span class="c-gray en">&gt;</span> 订单管理 <span
        class="c-gray en">&gt;</span> 订单列表下载 </nav>

<form style="margin:30px" style="float:left" action="downloadOrder.do" method="post" class="form form-horizontal">
    <span class="select-box" style="width:100px">
  <select class="select" id="enddate" size="1" name="enddate">
  	<option value="1">当天</option>
    <option value="2">一周</option>
    <option value="3">一月</option>
    <option value="4">半年</option>
    <option value="5">一年</option>
      <option value="6">三年</option>
  </select>
</span>
    <input class="btn btn-default radius" type="submit" value="导出下载Excel">
</form>

</body>

<script type="text/javascript" src="${contextpath}lib/jquery/1.9.1/jquery.min.js"></script>
<script type="text/javascript" src="${contextpath}lib/layer/2.1/layer.js"></script>
<script type="text/javascript" src="${contextpath}lib/My97DatePicker/WdatePicker.js"></script>
<script type="text/javascript" src="${contextpath}lib/datatables/1.10.0/jquery.dataTables.min.js"></script>
<script type="text/javascript" src="${contextpath}static/h-ui/js/H-ui.js"></script>
<script type="text/javascript" src="${contextpath}static/h-ui.admin/js/H-ui.admin.js"></script>
<script type="text/javascript" src="${contextpath}lib/laydate/laydate.js"></script>
<script type="text/javascript" src="${contextpath}lib/jcarousellite.min.js"></script>
<script type="text/javascript" src="${contextpath}lib/icheck/jquery.icheck.min.js"></script>
<script type="text/javascript">


    laydate.render({

        elem: '#startdate' //指定元素

    });
    laydate.render({
        elem: '#enddate' //指定元素

    });


    function check() {
        var excel_file = $("#excel_file").val();
        if (excel_file == "" || excel_file.length == 0) {
            alert("请选择文件路径！");
            return false;
        } else {
            return true;
        }
    }

    $(document).ready(function () {
        var msg = "";
        if ($("#importMsg").text() != null) {
            msg = $("#importMsg").text();
        }
        if (msg != "") {
            alert(msg);
        }
    });
</script>

</html>